package com.study.vo.atte;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Author wfw
 * @Date 2020/08/01 16:29
 */
@Data
public class ArchiveItemVO implements Serializable {
    private static final long serialVersionUID = -9023941628371062607L;

    private String companyId;

    @NotNull(message = "部门ID不能为空")
    private String departmentId;

    /**
     * 年份
     */
    @NotNull(message = "归档年月不能为空，格式是%Y-%m")
    private String archiveDate;
}
